<div class="modal-header">
    <div class="modal-title">选择参与分成人员</div>
</div>

<ng-template #search>
    <sf #sf (formReset)="st.reset($event,{merge:true})" (formSubmit)="st.reset($event,{merge:true})"
        [button]="{submit:'搜索'}" [schema]="searchSchema"
        [ui]="ui"
        layout="inline"></sf>
    <div class="my-md">
        <nz-alert [nzMessage]="message"
                  [nzShowIcon]="true"
                  [nzType]="'info'">
            <ng-template #message>已选择
                <strong class="text-primary">{{ selectedRows.length }}项</strong>
                <a (click)="st.clearCheck()"
                   *ngIf="selectedRows.length > 0"
                   class="ml-lg">清空</a>
            </ng-template>
        </nz-alert>
    </div>
</ng-template>
<st #st (change)="stChange($event)" [columns]="columns" [data]="url" [header]="search" [req]="req"
    [res]="res" bordered></st>
<div class="modal-footer">
    <button (click)="close()" nz-button type="button">关闭</button>
    <button (click)="save()" nz-button nzType="primary"
            type="submit">保存
    </button>
</div>
